﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Caipin_jcshezhi.aspx.cs" Inherits="Catering.Catering_Page.Caipin.Caipin_jcshezhi" %>

<!DOCTYPE html PUBLIC "-//W3C//Dtd XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/Dtd/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>菜品管理</title>
<link rel="stylesheet" type="text/css" href="../../../Style/head.css" />
<link rel="stylesheet" type="text/css" href="../../../Style/center.css"/>
<link href="../../../Style/StyleSheet.css" rel="stylesheet" type="text/css" />
<link href="../../../Style/jquery.treeview.css" rel="stylesheet" type="text/css" />
<link href="../../../Style/tinybox_style.css" rel="stylesheet" type="text/css" />
<link href="../../Style/zhezhao.css" rel="stylesheet" type="text/css" />
<script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    
<style type="text/css">
.Create_Recipe{ margin-top:0;}
.Create_Recipe{ border:1px solid #159aec; border-top:none; width:998px;} 
.soso_lt{ padding:5px 0;}
.soso_lt a{ margin-left:3px;}

a.add_new1{ position:absolute; top:8px; right:10px; background:url(../../Images/jiahao.gif) left center no-repeat; padding-left:15px;}
a.add_new1:link,a.add_new:visited{ color:#de10ab}
a.add_new1:hover{ color:#000}

a.add_innsert1{ position:absolute; top:8px; right:60px; background:url(../../Images/jiahao.gif) left center no-repeat; padding-left:15px;}
a.add_innsert1:link,a.add_innsert:visited{ color:#de10ab}
a.add_innsert1:hover{ color:#000}
</style>

<script type="text/javascript">
    var srcArray = new Array(6);
    srcArray[0] = "Caipin_jcsz/Caipinshezhi.aspx";
    srcArray[1] = "Caipin_jcsz/Yuanliaoshezhi.aspx";
    srcArray[2] = "Caipin_jcsz/Leibieshezhi.aspx";
    srcArray[3] = "Caipin_jcsz/Caipushezhi.aspx";
    srcArray[4] = "Caipin_jcsz/sousuoshipu.aspx";
    srcArray[5] = "Caipin_jcsz/YingYangbiaozhun.aspx";

    var selectID = "li2_0";
    $(document).ready(function () {
        $(".xxk_button1>ul>li a").mouseover(function () {
            $(this).addClass("li_over");
        });
        $(".xxk_button1>ul>li a").mouseout(function () {
            if ($(this).attr("id") != selectID) {
                $(this).removeClass("li_over");
            }
        });
    });

    function show_iframe(num) {
        $(".xxk_button1>ul>li a").removeClass("li_over");
        $("#li2_" + num).addClass("li_over");
        selectID = "li2_" + num;
        $("#Iframe").attr("src", srcArray[num]);
    }

    function iframe_inite(num) {
        for (var i = 0; i < num; i++) {
            var obj = "li2_" + i;
            if (document.getElementById(obj)) {
                show_iframe(i);
                break;
            }
        }
    }
</script>

</head>
<body>
    <form id="form1" runat="server">
<div class="xxk_button1">
    <ul>
    <%if (Catering.Toolss.IsVerification(Session["RoleID"].ToString(), "Caipin_jcshezhi.aspx", "菜品设置查看"))
      { %>
        <li><a href="Caipin_jcsz/Caipinshezhi.aspx" target="Iframe" id="li2_0" class="li_out" onclick="show_iframe(0)"><img src="../../Images/sz01.png" />&nbsp;&nbsp;菜品设置</a></li>
        <%}
            if (Catering.Toolss.IsVerification(Session["RoleID"].ToString(), "Caipin_jcshezhi.aspx", "原料设置查看"))
      { %>
        <li><a href="Caipin_jcsz/Yuanliaoshezhi.aspx" target="Iframe" id="li2_1" class="li_out" onclick="show_iframe(1)" ><img src="../../Images/sz02.png" />&nbsp;&nbsp;原料设置</a></li>
        <%}
            if (Catering.Toolss.IsVerification(Session["RoleID"].ToString(), "Caipin_jcshezhi.aspx", "类别设置查看"))
      { %>
        <li><a href="Caipin_jcsz/Leibieshezhi.aspx" target="Iframe" id="li2_2" class="li_out" onclick="show_iframe(2)" ><img src="../../Images/sz03.png" />&nbsp;&nbsp;类别设置</a></li>
        <%}
            if (Catering.Toolss.IsVerification(Session["RoleID"].ToString(), "Caipin_jcshezhi.aspx", "菜谱设置查看"))
      { %>
        <li><a href="Caipin_jcsz/Caipushezhi.aspx" target="Iframe" id="li2_3" class="li_out" onclick="show_iframe(3)" ><img src="../../Images/sz04.png" />&nbsp;&nbsp;菜谱设置</a></li>
        <%}%>
        <li><a href="Caipin_jcsz/sousuoshipu.aspx" target="Iframe" id="li2_4"  class="li_out" onclick="show_iframe(4)" ><img src="../../Images/sz05.png" />&nbsp;&nbsp;食谱管理</a></li>
        <%if (Catering.Toolss.IsVerification(Session["RoleID"].ToString(), "Caipin_jcshezhi.aspx", "营养标准查看"))
          {  %>
        <li><a href="Caipin_jcsz/YingYangbiaozhun.aspx" target="Iframe" id="li2_5"  class="li_out" onclick="show_iframe(5)" ><img src="../../Images/sz05.png" />&nbsp;&nbsp;营养标准</a></li>
        <%} %>
    </ul>
  </div>
<div class="Center_Content" id="div2_1" style="display:block;height:550px;">
    <iframe id="Iframe" name="Iframe" src="" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
</div>
<div style="height:10px; clear:both;"></div>
    <div class="footer"> 
        <strong>中海油能源发展配餐服务公司渤海自营油田作业公司&nbsp;&nbsp;版权所有@CopyRight 2012</strong><span>技术支持：北京天择嘉业科技有限公司</span>
    </div>
</form>
</body>
</html>
  <script type="text/javascript">
      iframe_inite(6);
</script>
